import express from "express";

// 用户类控制器
import Button from "../controller/button/button";
const buttonController = new Button();

const Router = express.Router();

Router.post("/list", buttonController.list)
  .get("/check", buttonController.check)
  .get("/remove", buttonController.remove)
  .post("/add", buttonController.add)
  .post("/update", buttonController.update);

export default Router;
